﻿using NewModel.Accounting.Calculation;

namespace NewModel.UnitTests.Accounting.Persistence._Samples_
{
    public static class Intervals
    {
        public static Interval June
        {
            get { return new Interval(Dates.FirstDayOfJune, Dates.FirstDayOfJuly); }
        }
        public static Interval July
        {
            get { return new Interval(Dates.FirstDayOfJuly, Dates.FirstDayOfAugust); }
        }
        public static Interval August
        {
            get { return new Interval(Dates.FirstDayOfAugust, Dates.FirstDayOfSeptember); }
        }
        public static Interval Summer
        {
            get { return new Interval(Dates.FirstDayOfJune, Dates.FirstDayOfSeptember); }
        }
        public static Interval Week
        {
            get { return new Interval(Dates.Monday, Dates.NextMonday); }
        }
        public static Interval Monday    { get { return new Interval(Dates.Monday, Dates.Tuesday); } }
        public static Interval Tuesday   { get { return new Interval(Dates.Tuesday, Dates.Wednesday); } }
        public static Interval Wednesday { get { return new Interval(Dates.Wednesday, Dates.Thursday); } }
        public static Interval Thursday  { get { return new Interval(Dates.Thursday, Dates.Friday); } }
        public static Interval Friday    { get { return new Interval(Dates.Friday, Dates.Saturday); } }
        public static Interval Saturday  { get { return new Interval(Dates.Saturday, Dates.Sunday); } }
        public static Interval Sunday    { get { return new Interval(Dates.Sunday, Dates.NextMonday); } }
    }
}